package com.med.meddataintegrator.common.pojo.vo.hospitalization;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Builder
public class HospitalizationVo {
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "楼层")
    private String floor;
    @ApiModelProperty(value = "床位")
    private String bed;
    @ApiModelProperty(value = "门牌号")
    private String door;
    @ApiModelProperty(value = "病情")
    private String medicalName;
    @ApiModelProperty(value = "患者姓名")
    private String name;
    @ApiModelProperty(value = "入院时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date intime;
    @ApiModelProperty(value = "出院时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date outtime;
}
